import request from "@/utils/request";

// 获取tabs列表
export const list = () => {
  return request.get("tabs/list");
};

// 新增tabs
export const upload = (data) => {
  return request.post("tabs/upload", data);
};

// 更新tabs
export const update = (data) => {
  return request.put("tabs/update", data);
};

// 删除tabs
export const del = (id) => {
  return request.delete(`tabs/delete/${id}`);
};
